<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
         .container,.container2{
            width: 200px;
            /* height: 200px; */
            border: 1px solid rebeccapurple;
    }
    .container div{
        width: 50px;
        height: 50px;
        border: 1px solid red;
        float: left;
    }
    .container2{
        height: 200px;
    }
    </style>
   
</head>
<body>
    <div class="container">
        <div class="box1">

        </div>
        <div class="box2">

        </div>
    </div>
    <div class="container2">

    </div>

</body>
</html>